<?php

declare(strict_types=1);
/**
 * This file is part of Hyperf.
 *
 * @link     https://www.hyperf.io
 * @document https://hyperf.wiki
 * @contact  group@hyperf.io
 * @license  https://github.com/hyperf/hyperf/blob/master/LICENSE
 */

namespace App\Controller;

use Hyperf\Di\Annotation\Inject;
//use Hyperf\HttpServer\Contract\RequestInterface;
//use Hyperf\HttpServer\Contract\ResponseInterface;
use Psr\Container\ContainerInterface;

abstract class AbstractController
{
    #[Inject]
    protected ContainerInterface $container;

//    #[Inject]
//    protected RequestInterface $request;
//
//    #[Inject]
//    protected ResponseInterface $response;

    /**
     * @var array 校验规则字段名字映射
     * @see https://hyperf.wiki/3.0/#/zh-cn/validation?id=%e9%aa%8c%e8%af%81%e8%a7%84%e5%88%99
     */
    public array $attributes = [];
}
